package com.heima.config;

import org.apache.ibatis.javassist.ClassPath;
import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;

@Configuration

@ComponentScan(value = "com.heima" ,excludeFilters = @ComponentScan.Filter(
        type = FilterType.ANNOTATION,
        value = {Configuration.class, Controller.class}
))

@PropertySource({"classpath:jdbc.properties"})

@Import({MybatisConfig.class,JdbcConfig.class})
public class SpringConfig {
}
